package com.tbit.main.constant;

import com.tbit.common.constant.MethodEnum;
import com.tbit.common.constant.ModuleEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author MyWin E-mail: @qq.com
 * @version 1.0
 * @createTime 2019-12-07 17:05
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface OperateLog {
    /**
     * 模块
     *
     * @return
     */
    ModuleEnum module() default ModuleEnum.NONE;

    /**
     * 具体业务操作
     *
     * @return
     */
    MethodEnum methods() default MethodEnum.NONE;
}
